package com.mybatis.dao;

import com.mybatis.domain.Order;
import org.apache.ibatis.annotations.Select;

import java.util.List;

public interface OrderDao {
    @Select("select * from orders where uid = #{uid}")
    List<Order> findOrdersByUid(int uid);
}
